package com.itheima.dao;

import com.itheima.pojo.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface PermissionDao {


    Set<Permission> findById(Integer id);


    void addRoleAndpermission(@Param("id") Integer id,
                              @Param("permission") Permission permission);
}
